var count = 60;
function wait() {
    if (count == 0) {
        $('#send').html('点击发送');
        $('#send').attr("disabled", false);
        count = 60;
    }
    else {
        $('#send').html('重新发送' + count);
        $('#send').attr("disabled", true);
        count--;
        setTimeout("wait()", 1000);
    }
}
$('#send').click(function () {
    $.ajax({
        url: "sendEmailToFindPassword",
        type: "POST",
        data: {"email": $('#email').val()},
        success: function (data) {
            $('#otherTip').html(data);
            wait();
        }
    })
})